Index: wvstreams-4.6/crypto/wvx509.cc
===================================================================
--- wvstreams-4.6.orig/crypto/wvx509.cc	2009-07-29 11:58:16.000000000 -0400
+++ wvstreams-4.6/crypto/wvx509.cc	2009-07-29 11:58:43.000000000 -0400
@@ -325,7 +325,7 @@
     }
 
     int verify_result = X509_REQ_verify(certreq, pk);
-    if (verify_result == 0)
+    if (verify_result == 0 || verify_result == -1)
     {
 	debug(WvLog::Warning, "Self signed request failed");
 	X509_REQ_free(certreq);
